package com.luck.api;

import com.luck.model.po.Blog;
import com.luck.model.pojo.PageRequest;
import com.luck.model.pojo.PageResponse;
import com.luck.model.dto.BlogInfoDto;

import java.util.List;

/**
 * Created by Hua wb on 2018/5/16.
 */
public interface BlogManager {
    Integer addBlog(Blog blog);
    BlogInfoDto getBlog(Integer blogId);
    List<Blog> getBlogs();
    PageResponse<BlogInfoDto> getPageBlogInfo(PageRequest pageRequest);
}
